import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/font/font.css'

// import echarts from 'echarts'
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;

Vue.config.productionTip = false

Vue.use(ElementUI);

// import * as echarts from 'echarts';
// Vue.prototype.$echarts = echarts

new Vue({
    router,
    data() {
      return {
        ADMIN: [{
          admin_id: '',
          admin_name: '',
          admin_num: '',
          admin_pwd: ''
        }],
      }
    },
    render: h => h(App),
}).$mount('#app')